#!/bin/bash

hardeningAnswer=0
mainScript=run.sh

while [[ $hardeningAnswer != 1 ]]; do
{
	echo ""
	echo "Hello and welcome to the Linux Hardening Suite"
	echo "Please choose from the following options below:"
	echo ""
	echo "1.  Harden ALL of the Operating Systems Vulnerablities"
	echo "2.  Harden ONLY the System Items"
	echo "3.  Harden ONLY the Service Items"
	echo "4.  Specify log file name (inprogress)"
	echo "5.  Help options"
	echo "6.  Exit the Program"
	echo ""
	
	read hardeningAnswer
	case $hardeningAnswer in
		1)	./$mainScript -a
			;;
		2)	./$mainScript -o
			;;
		3)	./$mainScript -s
			;;
		4)	./$mainScript -l
			;;
		5)	./$mainScript -h
			;;
		6)	break
			;;
		*)  echo "Input not recognized, please try again."
			;;
	esac

};done

echo "Thank you for using the Linux Hardening Suite"